package com.windaka.suizhi.dao;


import com.windaka.suizhi.model.AutoTest;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;


/**
* AutoTestMapper 增删改查基础方法
* @author wzk
* @date 2022-02-21 08:56:53
**/
@Mapper
public interface AutoTestMapper {

    /**
    * 查询
    * @author wzk
    * @date 2022-02-21 08:56:53
    * @param autoTest model
    * @return List 数组
    **/
    List<AutoTest> selectAutoTest(AutoTest autoTest);

    /**
    * 新增
    * @author wzk
    * @date 2022-02-21 08:56:53
    * @param autoTest model
    * @return Integer 是否成功
    **/
    int insertAutoTest(AutoTest autoTest);

    /**
    * 更新
    * @author wzk
    * @date 2022-02-21 08:56:53
    * @param autoTest model
    * @return Integer 是否成功
    **/
    int updateAutoTest(AutoTest autoTest);

    /**
    * 删除
    * @author wzk
    * @date 2022-02-21 08:56:53
    * @param autoTest model
    * @return Integer 是否成功
    **/
    int deleteAutoTest(AutoTest autoTest);

    /**
    * 根据条件获取数量
    * @author wzk
    * @date 2022-02-21 08:56:53
    * @param autoTest model
    * @return Integer 总数
    **/
    int selectAutoTestCount(AutoTest autoTest);
}
